package com.qf.day01;

import java.util.Scanner;

public class Demo01 {
    public static void main(String[] args) {
        Scanner sc =new Scanner(System.in);
        System.out.println("请输入底边");
        double bottom =sc.nextDouble();

        System.out.println("请输入高");
        double tall =sc.nextDouble();
        System.out.println("三角形面积为：" +bottom * tall /2 );
    }
}
